package com.example.exceldemo.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.time.LocalDate;

/**
 * @Description
 * @Author xiaohuang
 * @Date 2025/2/18
 */
@Data
public class UserRecord {
    @Excel(name = "序号", orderNum = "1",type = 10)
    private Integer index;
    @Excel(name = "姓名", orderNum = "2")
    private String name;
    @Excel(name = "次数", orderNum = "3",type = 10)
    private Integer age;
    @Excel(name = "时间", orderNum = "4",format = "yyyy-MM-dd")
    private LocalDate date;

}
